package com.cqndt.disaster.device.common.util;

/** 常量 */
public class Constant {
	/** 超级管理员ID */
	public static final Integer SUPER_ADMIN = 1;
    /** 数据权限过滤 */
	public static final String SQL_FILTER = "sql_filter";

	/**私钥*/
    public static final String PRIVATE_KEY ="privateKey";

    /**
     * 当前用户userName
     */
    public static final String USER_NAME ="userName";
    /**
     * 当前操作设备deviceId
     */
    public static final String DEVICE_ID="deviceId";
    /**
     * 当前操作设备sn
     */
    public static final String SN ="sn";

    public static  final String VOICE_TYPE_NAME ="voiceTypeName";

    public static  final String VOICE_TYPE ="voiceType";
    /**
	 * 菜单类型
	 */
    public enum MenuType {
        /**
         * 目录
         */
    	CATALOG(0),
        /**
         * 菜单
         */
        MENU(1),
        /**
         * 按钮
         */
        BUTTON(2);

        private int value;

        MenuType(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }
    }
    
    /**
     * 定时任务状态
     */
    public enum ScheduleStatus {
        /**
         * 正常
         */
    	NORMAL(0),
        /**
         * 暂停
         */
    	PAUSE(1);

        private int value;

        ScheduleStatus(int value) {
            this.value = value;
        }
        
        public int getValue() {
            return value;
        }
    }

}